import Vue from 'vue'
import Router from 'vue-router'
import lottery from 'components/lottery/lottery'
import top from 'components/top/top'
import trend from 'components/trend/trend'

Vue.use(Router)

export default new Router({
  linkActiveClass: 'active',
  routes: [
    {
      path: '/',
      redirect: '/lottery'
    },
    {
      path: '/lottery',
      component: lottery
    },
    {
      path: '/top',
      component: top
    },
    {
      path: '/trend',
      component: trend
    }
  ]
})
